package com.techysky.repository;

import java.io.Serializable;
import java.util.List;

import org.springframework.data.jpa.repository.Query;

import com.techysky.entity.QuestionPaper;

public interface QuestionPaperRepository extends CoreRepository<QuestionPaper, Serializable> {
	@Query(value="select id,code,create_date,create_user,entity_type,name,order_code,paper_id,question_id from sys_question_paper where paper_id=? ",nativeQuery=true)
	List<QuestionPaper> findByPaperId(String paperId);

}
